package com.qf.news.mapper;

import com.qf.news.domain.Admin;
import com.qf.news.domain.User;

import java.util.List;

/**
* @author mxj
* @description 针对表【admin】的数据库操作Mapper
* @createDate 2022-06-04 19:04:10
* @Entity com.qf.news.domain.Admin
*/
public interface AdminMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Admin record);

    int insertSelective(Admin record);

    Admin selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);
    int deleteByUsername(User record);
    int deleteByLuoyangusername();
    List<Admin> selectByName(String username);
}
